package com.fc.mall.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class OrderStatusStatsInfo {
    @ApiModelProperty("待付款订单")
    int unpaid;

    @ApiModelProperty("已完成订单")
    int finished;

    @ApiModelProperty("待发货订单")
    int waitDeliver;

    @ApiModelProperty("已发货订单")
    int delivered;


    public static OrderStatusStatsInfo defaultValue()
    {
        return new OrderStatusStatsInfo(0,0,0,0);
    }
}
